package app2;

public class Book {
	private Integer id;
	private String  name;
	private double sal;
	public Book(){}
	public Book(int id, String name, double sal) {
		this.id = id;
		this.name = name;
		this.sal = sal;
	}


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getSal() {
		return sal;
	}
	public void setSal(double sal) {
		this.sal = sal;
	}
	
}
